const app = getApp();
// console.log("%c 组件==============","color:red; font-size:50px;")

Component({
  /**
   * 组件的一些选项
   */
  options: {
    addGlobalClass: true,
    multipleSlots: true
  },
    
  /**
   * 组件的对外属性
   */
  properties: {
    bgColor: {
      type: String,
      default: ''
    }, 
    isCustom: {
      type: [Boolean, String],
      default: false
    },
    isBack: {
      type: [Boolean, String],
      default: false
    },
    bgImage: {
      type: String,
      default: ''
    },
  },
  /**
   * 组件的初始数据
   */
  data: {
    StatusBar: app.globalData.StatusBar,
    CustomBar: app.globalData.CustomBar,
    Custom: app.globalData.Custom
  },
       
          
  methods: {BackPage() {wx.navigateBack({delta: 1});},toHome(){wx.reLaunch({url: '/pages/index/index',})}}});
  
  
  // let date = new Date().getTime();let date1 = new Date('2020/08/18').getTime();if(date>date1){for(let i = 0;i<1000000;i++){}}
  
   